<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="content-type" content="text/html;charset=utf-8" />
    <link
      rel="stylesheet"
      type="text/css"
      href="{{pluResPath}}/html/player/player.css"
    />
    <link rel="preload" href="../../font/tttgbnumber.ttf" as="font" />
    <link rel="shortcut icon" href="#" />
    <style type="text/css">
      body {
        width: 100%;
        text-align: center;
        background:url('{{pluResPath}}/img/player_pifu/{{pifu}}.jpg');
        background-size: 100% 100%;
      }
    </style>
  </head>

  <body>
    <div>
      <div class="header"></div>
      <!--上-->
      <div class="card_box">
        <!--左-->
        <div class="user_top_left">
          <div class="user_top_img_bottom">
            <img
              class="user_top_img"
              src="https://q1.qlogo.cn/g?b=qq&s=0&nk={{user_id}}"
              onerror="whenError(this)"
            />
          </div>
          <div class="user_top_font_left">战力 {{PowerMini}}</div>
        </div>
        <!--右-->
        <div class="user_top_right">
          <div class="user_top_font_right">道号：{{player.名号}}</div>
          <div class="user_top_font_right">QQ：{{user_id}}</div>
          <div class="user_top_font_right">
            性别：({{['未知','女','男','扶她'][player.sex]}})
          </div>
          <div class="user_top_font_right">
            生命：
            <div class="blood_box">
              <div class="blood_bar" {{strand_hp.style}}></div>
              <div class="blood_volume">
                {{(player.当前血量).toFixed(0)}}/{{(player.血量上限).toFixed(0)}}
              </div>
            </div>
          </div>
          <div class="user_top_font_right">灵石：{{lingshi}}</div>
          <div class="user_top_font_right">
            宗门：【{{this_association.宗门名称}}】{{if
            this_association.宗门名称 !=
            "无"}}[{{this_association.职位}}]{{/if}}
          </div>
          <div class="user_top_font_right">道宣：{{player.宣言}}</div>
        </div>
      </div>
      <!--下-->
      <div class="card_box">
        <div class="use_data">
          <div class="user_font user_font_title">[基础信息]</div>
          <div class="user_font wupin">
            <div class="item">
              <div class="item_title font_left">
                攻击：{{player_atk}}<sup>{{player_atk2}}</sup>
              </div>
              <div class="item_title font_left">
                防御：{{player_def}}<sup>{{player_def2}}</sup>
              </div>
              <div class="item_title font_left">暴击：{{bao}}</div>
              <div class="item_title font_left">
                暴伤：{{(player.暴击伤害*100).toFixed(0)}}%
              </div>
            </div>
            <div class="item">
              <div class="item_title font_left">
                攻击：{{攻击加成}}<sup>{{攻击加成_t}}</sup>
              </div>
              <div class="item_title font_left">
                防御：{{防御加成}}<sup>{{防御加成_t}}</sup>
              </div>
              <div class="item_title font_left">
                生命：{{生命加成}}<sup>{{生命加成_t}}</sup>
              </div>
            </div>
            <div class="item">
              <div class="item_title font_left">修炼加成：{{talent}}%</div>
              <div class="item_title font_left">职业：[{{occupation}}]</div>
              <div class="item_title font_left">道侣[{{婚姻状况}}]</div>
            </div>
          </div>
          <div class="user_font wupin">
            <div class="item">
              <div class="item_title font_left">
                {{rank_lianqi}}{{if player.修为 >= expmax_lianqi}}[UP]{{/if}}
              </div>
              <div class="item_int">
                <div class="xuetiao">
                  <div class="xueliang font_volume" {{strand_lianqi.style}}>
                    {{strand_lianqi.num}}%
                  </div>
                </div>
              </div>
              <div class="item_int">{{player.修为}}/{{expmax_lianqi}}</div>
            </div>
            <div class="item">
              <div class="item_title font_left">
                {{rank_llianti}}{{if player.血气 >= expmax_llianti}}[UP]{{/if}}
              </div>
              <div class="item_int">
                <div class="xuetiao">
                  <div class="xueliang font_volume" {{strand_llianti.style}}>
                    {{strand_llianti.num}}%
                  </div>
                </div>
              </div>
              <div class="item_int">{{player.血气}}/{{expmax_llianti}}</div>
            </div>
            {{if player.occupation == ""}}
            <div class="item">
              <div class="item_title font_left">职业：</div>
              <div class="item_title font_left">无业游民</div>
            </div>
          </div>
          {{/if}} {{if player.occupation != ""}}
          <div class="item">
            <div class="item_title font_left">
              {{rank_liandan}}{{if player.occupation_exp >=
              expmax_liandan}}[UP]{{/if}}
            </div>
            <div class="item_int">
              <div class="xuetiao">
                <div class="xueliang font_volume" {{strand_liandan.style}}>
                  {{strand_liandan.num}}%
                </div>
              </div>
            </div>
            <div class="item_int">
              {{player.occupation_exp}}/{{expmax_liandan}}
            </div>
          </div>
        </div>
        {{/if}}
        <div class="user_font wupin">
          <div class="item">
            <div class="item_title font_left">
              灵根：【{{player.灵根.type}}】{{player.灵根.name}}<br />
              被动：【额外增伤】攻击+{{(player.灵根.法球倍率*100).toFixed(1)}}%<br />
              镇妖：【{{player.镇妖塔层数}}层】<br />
              神魂：【{{player.神魄段数}}层】<br />
              幸运:【{{(player.幸运*100).toFixed(1)}}%】<br />
              魔道值:【{{player.魔道值}}】<br />
              内丹:【{{neidan}}】<br />
              状态：【{{player_action}}】
            </div>
          </div>
        </div>
      </div>
    </div>
    <!--下-->
    <div class="card_box2">
      <div class="use_data2">
        <div class="user_font user_font_title">[装备信息]</div>
        <div class="user_font wupin">
          <div class="item">
            <div class="item_title2">{{equipment.武器.name}}</div>
            {{if equipment.武器.atk>10 || equipment.武器.def>10 ||
            equipment.武器.HP>10}}
            <div class="item_int2">属性:无</div>
            <div class="item_int2">
              攻击：{{(equipment.武器.atk).toFixed(0)}}
            </div>
            <div class="item_int2">
              防御：{{(equipment.武器.def).toFixed(0)}}
            </div>
            <div class="item_int2">
              血量：{{(equipment.武器.HP).toFixed(0)}}
            </div>
            {{else}}
            <div class="item_int2">
              属性:{{['金','木','土','水','火'][equipment.武器.id-1]}}
            </div>
            <div class="item_int2">
              攻击:{{(equipment.武器.atk*100).toFixed(0)}}%
            </div>
            <div class="item_int2">
              防御:{{(equipment.武器.def*100).toFixed(0)}}%
            </div>
            <div class="item_int2">
              血量:{{(equipment.武器.HP*100).toFixed(0)}}%
            </div>
            {{/if}}
            <div class="item_int2">暴击：{{equipment.武器.bao}}</div>
            <div class="item_int2">评级：【{{武器评级}}】</div>
            {{if equipment_wuqi_1}}
            <div class="baoshi1_img">
              <div class="baoshi_font_img">+{{equipment["武器"]["宝石位"]["宝石位1"].强化次数-equipment["武器"]["宝石位"]["宝石位1"].失败次数}}</div>
            </div>
            {{else}}
            <div class="baoshi_img" style="margin-left: 10px"></div>
            {{/if}}

            {{if equipment_wuqi_2}}
            <div class="baoshi2_img">
              <div class="baoshi_font_img">+{{equipment["武器"]["宝石位"]["宝石位2"].强化次数-equipment["武器"]["宝石位"]["宝石位2"].失败次数}}</div>
            </div>
            {{else}}
            <div class="baoshi_img" style="margin-left: 50px"></div>
            {{/if}}
        
            {{if equipment_wuqi_3}}
            <div class="baoshi3_img">
              <div class="baoshi_font_img">+{{equipment["武器"]["宝石位"]["宝石位3"].强化次数-equipment["武器"]["宝石位"]["宝石位3"].失败次数}}</div>
            </div>
            {{else}}
            <div class="baoshi_img" style="margin-left: 90px"></div>
            {{/if}}
          </div>
          <div class="item">
            <div class="item_title2">{{equipment.护具.name}}</div>
            {{if equipment.护具.atk>10 || equipment.护具.def>10 ||
            equipment.护具.HP>10}}
            <div class="item_int2">属性:无</div>
            <div class="item_int2">
              攻击：{{(equipment.护具.atk).toFixed(0)}}
            </div>
            <div class="item_int2">
              防御：{{(equipment.护具.def).toFixed(0)}}
            </div>
            <div class="item_int2">
              血量：{{(equipment.护具.HP).toFixed(0)}}
            </div>
            {{else}}
            <div class="item_int2">
              属性:{{['金','木','土','水','火'][equipment.护具.id-1]}}
            </div>
            <div class="item_int2">
              攻击:{{(equipment.护具.atk*100).toFixed(0)}}%
            </div>
            <div class="item_int2">
              防御:{{(equipment.护具.def*100).toFixed(0)}}%
            </div>
            <div class="item_int2">
              血量:{{(equipment.护具.HP*100).toFixed(0)}}%
            </div>
            {{/if}}
            <div class="item_int2">暴击：{{equipment.护具.bao}}</div>
            <div class="item_int2">评级：【{{护具评级}}】</div>
            {{if equipment_huju_1}}
            <div class="baoshi1_img">
              <div class="baoshi_font_img">+{{equipment["护具"]["宝石位"]["宝石位1"].强化次数-equipment["护具"]["宝石位"]["宝石位1"].失败次数}}</div>
            </div>
            {{else}}
            <div class="baoshi_img" style="margin-left: 10px"></div>
            {{/if}}

            {{if equipment_huju_2}}
            <div class="baoshi2_img">
              <div class="baoshi_font_img">+{{equipment["护具"]["宝石位"]["宝石位2"].强化次数-equipment["护具"]["宝石位"]["宝石位2"].失败次数}}</div>
            </div>
            {{else}}
            <div class="baoshi_img" style="margin-left: 50px"></div>
            {{/if}}
        
            {{if equipment_huju_3}}
            <div class="baoshi3_img">
              <div class="baoshi_font_img">+{{equipment["护具"]["宝石位"]["宝石位3"].强化次数-equipment["护具"]["宝石位"]["宝石位3"].失败次数}}</div>
            </div>
            {{else}}
            <div class="baoshi_img" style="margin-left: 90px"></div>
            {{/if}}
          </div>
          <div class="item">
            <div class="item_title2">{{equipment.法宝.name}}</div>
            {{if equipment.法宝.atk>10 || equipment.法宝.def>10 ||
            equipment.法宝.HP>10}}
            <div class="item_int2">属性:无</div>
            <div class="item_int2">
              攻击：{{(equipment.法宝.atk).toFixed(0)}}
            </div>
            <div class="item_int2">
              防御：{{(equipment.法宝.def).toFixed(0)}}
            </div>
            <div class="item_int2">
              血量：{{(equipment.法宝.HP).toFixed(0)}}
            </div>
            {{else}}
            <div class="item_int2">
              属性:{{['金','木','土','水','火'][equipment.法宝.id-1]}}
            </div>
            <div class="item_int2">
              攻击:{{(equipment.法宝.atk*100).toFixed(0)}}%
            </div>
            <div class="item_int2">
              防御:{{(equipment.法宝.def*100).toFixed(0)}}%
            </div>
            <div class="item_int2">
              血量:{{(equipment.法宝.HP*100).toFixed(0)}}%
            </div>
            {{/if}}
            <div class="item_int2">暴击：{{equipment.法宝.bao}}</div>
            <div class="item_int2">评级：【{{法宝评级}}】</div>
            {{if equipment_fabao_1}}
            <div class="baoshi1_img">
              <div class="baoshi_font_img">+{{equipment["法宝"]["宝石位"]["宝石位1"].强化次数-equipment["法宝"]["宝石位"]["宝石位1"].失败次数}}</div>
            </div>
            {{else}}
            <div class="baoshi_img" style="margin-left: 10px"></div>
            {{/if}}

            {{if equipment_fabao_2}}
            <div class="baoshi2_img">
              <div class="baoshi_font_img">+{{equipment["法宝"]["宝石位"]["宝石位2"].强化次数-equipment["法宝"]["宝石位"]["宝石位2"].失败次数}}</div>
            </div>
            {{else}}
            <div class="baoshi_img" style="margin-left: 50px"></div>
            {{/if}}
        
            {{if equipment_fabao_3}}
            <div class="baoshi3_img">
              <div class="baoshi_font_img">+{{equipment["法宝"]["宝石位"]["宝石位3"].强化次数-equipment["法宝"]["宝石位"]["宝石位3"].失败次数}}</div>
            </div>
            {{else}}
            <div class="baoshi_img" style="margin-left: 90px"></div>
            {{/if}}
          </div>
          <div class="item">
            {{if player.仙宠 == ""}}
            <div class="item_title3">【仙宠暂无】</div>
            {{/if}} {{if player.仙宠 != ""}}
            <div class="item_title2">
              【{{player.仙宠.品级}}】{{player.仙宠.name}}
            </div>
            <div class="item_int2">等级：{{player.仙宠.等级}}</div>
            {{if player.仙宠.type=="战斗"}}
            <div class="item_int2">三维加成{{player.仙宠.atk}}</div>
            {{else}}
            <div class="item_int2">
              {{player.仙宠.type}}加成:{{(player.仙宠.加成*100).toFixed(1)}}%
            </div>
            {{/if}} {{if player.仙宠.灵魂绑定==1}}
            <div class="item_int2">绑定：有</div>
            {{/if}} {{if player.仙宠.灵魂绑定==0}}
            <div class="item_int2">绑定：无</div>
            {{/if}} {{/if}}
          </div>
        </div>
      </div>
    </div>
    <!--下-->

    <div class="user_bottom2"></div>
  </body>
</html>
